import request from '@/utils/request'

// 查询岗位人员薪酬信息列表

export function postempsalaryList(query) {
  return request({
    url: '/wsp/postempsalary/list',
    method: 'get',
    params: query
  })
}
// 录入人员薪酬

export function inputComp(query) {
  return request({
    url: '/wsp/postempsalary/inputComp',
    method: 'post',
    data: query
  })
}
// 批量结算人员薪酬

export function settlement(query) {
  return request({
    url: '/wsp/postempsalary/settlement',
    method: 'post',
    data: query
  })
}
// 全部结算人员薪酬

export function settlementall(query) {
  return request({
    url: '/wsp/postempsalary/settlementall',
    method: 'post',
    data: query
  })
}
// 批量录入工时

export function importPostEmpSalary(query) {
  return request({
    url: '/wsp/postempsalary/importPostEmpSalary',
    method: 'post',
    params: query
  })
}
// 结算人员薪酬
export function updateSettlement(query) {
  return request({
    url: '/wsp/postempsalary/settlement/' + query,
    method: 'put',
  })
}